﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

public enum GameStateMessage
{
    None,
    StartGame,
    Title

}

namespace ProjectNocturnalFool
{
    sealed class GameLogic
    {
        #region Fields and Initialization

        static readonly GameLogic _instance = new GameLogic();
        GameBoardLogic gameBoardLogic;

        //HACK
        public GameStateMessage state = GameStateMessage.Title;

         /// <summary>
        /// Access SiteStructure.Instance to get the singleton object.
        /// Then call methods on that instance.
        /// </summary>
        public static GameLogic Instance
        {
            get { return _instance; }
        }


        public GameBoardLogic getGameBoardLogic() {
            return gameBoardLogic;
            ; }

        private GameLogic() {
            gameBoardLogic = new GameBoardLogic();
        }
        #endregion

        #region Update
        public void update() {
            gameBoardLogic.update();
        }
        #endregion
    }
}
